Filtering OpenEdge Service objects by search criteria
For OpenEdge Service objects, Platform offers filtering by search criteria to enable you to construct a complex filtering criteria in OpenEdge ABL syntax.
Note that filtering by search criteria is available only to the OpenEdge Service
objects that implement the orderby parameter in a JSON filter
string. This must be done as part of developing your JSDO catalog. For more information on the
recommend parameters to be implemented in your JSDO catalog file, see Creating an application from OpenEdge data.
The search criteria supports the following search conditions:
- String
- Numeric
- Logical
- Date
The following table provides search examples:
| Condition | Valid Operators | Search criteria or Filter clause examples |
|---|---|---|
| String | ABL operators for ABL CHAR and LONGCHAR data types |
Note: The name of a field in your search criteria is the field name in the
JSDO catalog. That is, if the JSDO Catalog has Last-name
but the Platform field name is Lastename, you must use
the field name, Last-name in your search criteria. |
| Numeric | ABL operators for ABL INTEGER, INT64, and DECIMAL data types |
|
| Logical | ABL operators for LOGICAL data types |
|
| Date | ABL functions for DATE, DATETIME, and DATETIME-TZ data types |
|
For information on ABL operations and functions, refer to the OpenEdge ABL Reference guide in the OpenEdge documentation set.